home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d12
/
ptv1n4.arc
/
CRITERR.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1990-09-13
|
410b
|
20 lines
unit CritErr;
{ Prevents Abort, Retry message on disk failures by replacing the
interrupt service routine with a "do-nothing" routine. }
interface
uses Dos;
procedure CritHandler(Flags,CS,IP,AX,BX,CX,DX,SI,DI,DS,ES,BP: word);
interrupt;
implementation
procedure CritHandler(Flags,CS,IP,AX,BX,CX,DX,SI,DI,DS,ES,BP: word);
begin
AX := 0;
end;
begin
SetIntVec($24,@CritHandler);
end.